//
//  ORSearchView.h
//  OR_1
//
//  Created by Luboš Kulič on 9/30/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//
//  28411391

#import <UIKit/UIKit.h>

#import "ARES.h";
@class XMLParser;
@class ORDataItem;
@class DataItem;



@interface ORBasicInfoView : UITableViewController  {
@private
	ORDataItem * data;
}

-(void)initData:(DataItem *) data_;



@end

@interface ORSearchView : UIViewController <UISearchBarDelegate, ARESEventListener> {
	UINavigationBar * navigationBar;
	//UITableView * searchResults;
	UISearchBar * orSearch;
	UIToolbar * bottomToolbar;
	UISegmentedControl * actualAllSwitch;
	UIActivityIndicatorView * activityIndicator;
	
	ORBasicInfoView * basicInfoView;
	
	ARES * ares;
	XMLParser * parser;

}

@property (nonatomic, retain) IBOutlet UINavigationBar * navigationBar;
//@property (nonatomic, retain) IBOutlet UITableView * searchResults;
@property (nonatomic, retain) IBOutlet UISearchBar * orSearch;
@property (nonatomic, retain) IBOutlet UIToolbar * bottomToolbar;
@property (nonatomic, retain) IBOutlet UISegmentedControl * actualAllSwitch;

@property (nonatomic, retain) IBOutlet UIActivityIndicatorView * activityIndicator;

@property (nonatomic, retain) IBOutlet ORBasicInfoView * basicInfoView;


-(IBAction)processSearch:(id)sender ;

@end
